package com.blb.community_admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blb.community_admin.entity.SysDictType;

import java.util.List;

/**
 * @author admin
 */
public interface ISysDictTypeService extends IService<SysDictType> {
    /**
     * 分页查询
     *
     * @param current
     * @param size
     * @return
     */
    IPage<SysDictType> selectPage(Integer current, Integer size);

    /**
     * 根据字典名称，字典类型，状态，起止时间进行模糊查询
     *
     * @param current
     * @param size
     * @param dictName
     * @param dictType
     * @param status
     * @param startTime
     * @param endTime
     * @return
     */
    IPage<SysDictType> selectByFuzzy(Integer current, Integer size, String dictName, String dictType, String status, String startTime, String endTime);



}
